set localPath=%CD%\Shiku.exe
set exePath=%localPath:\=\\%
set protocolName=Shiku

echo Windows Registry Editor Version 5.00 >test_regist.reg
echo [HKEY_CLASSES_ROOT\%protocolName%] >>test_regist.reg
echo @="%protocolName% Protocol" >>test_regist.reg
echo "URL Protocol"="" >>test_regist.reg

echo [HKEY_CLASSES_ROOT\%protocolName%\DefaultIcon] >>test_regist.reg
echo @="%exePath%,1" >>test_regist.reg

echo [HKEY_CLASSES_ROOT\%protocolName%\shell] >>test_regist.reg
echo @="" >>test_regist.reg

echo [HKEY_CLASSES_ROOT\%protocolName%\shell\open] >>test_regist.reg
echo @="" >>test_regist.reg

echo [HKEY_CLASSES_ROOT\%protocolName%\shell\open\command] >>test_regist.reg
echo @="\"%exePath%\" \"%%1\"" >>test_regist.reg

start test_regist.reg
pause
del /q test_regist.reg

pause>nul